package ru.fadeev.crammer.data;


/**
 * WordIndex class represents through index of WordRecord in DictionariesManager.
 * Used for organizing cycling process through the word records while testing.
 *  
 * @author Konstantin Fadeyev
 */
public class ThroughWordIndex {
	/**
	 * dictionary index
	 */
	private int dictIndex;
	
	/**
	 * sheet index
	 */
    private int sheetIndex;
    
    /**
     * word index in the sheet
     */
    private int wordIndex;

    
	/**
     * Conctructs WordIndex with default initial values
     */
    public ThroughWordIndex() {
    	dictIndex=0;
        sheetIndex=0;
        wordIndex=0;
    }
    
    /**
	 * @return the index of Dictionary in DictionariesManager 
	 */
	public int getDictIndex() {
		return dictIndex;
	}


	/**
	 * @return the sheetIndex
	 */
	public int getSheetIndex() {
		return sheetIndex;
	}


	/**
	 * @return the wordIndex
	 */
	public int getWordIndex() {
		return wordIndex;
	}


	/**
	 * @param dictIndex the dictionary index to set
	 */
	protected void setDictIndex(int dictIndex) {
		this.dictIndex = dictIndex;
	}


	/**
	 * @param sheetIndex the sheetIndex to set
	 */
	protected void setSheetIndex(int sheetIndex) {
		this.sheetIndex = sheetIndex;
	}


	/**
	 * @param wordIndex the wordIndex to set
	 */
	protected void setWordIndex(int wordIndex) {
		this.wordIndex = wordIndex;
	}
}
